package com.eshop.modules.order.service.dto;

public class ChartDataDto
{
    private Double num;
    private String time;
    
    public Double getNum() {
        return this.num;
    }
    
    public String getTime() {
        return this.time;
    }
    
    public void setNum(final Double num) {
        this.num = num;
    }
    
    public void setTime(final String time) {
        this.time = time;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ChartDataDto)) {
            return false;
        }
        final ChartDataDto other = (ChartDataDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$num = this.getNum();
        final Object other$num = other.getNum();
        Label_0065: {
            if (this$num == null) {
                if (other$num == null) {
                    break Label_0065;
                }
            }
            else if (this$num.equals(other$num)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$time = this.getTime();
        final Object other$time = other.getTime();
        if (this$time == null) {
            if (other$time == null) {
                return true;
            }
        }
        else if (this$time.equals(other$time)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof ChartDataDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $num = this.getNum();
        result = result * 59 + (($num == null) ? 43 : $num.hashCode());
        final Object $time = this.getTime();
        result = result * 59 + (($time == null) ? 43 : $time.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "ChartDataDto(num=" + this.getNum() + ", time=" + this.getTime() + ")";
    }
}
